package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;
    private String openid;
    private String nickname;
    private String avatarUrl;
    private String phone;
    private Integer gender;    // 将 String 改为 Integer
    private String idNumber;
    private String country;
    private String province;
    private String city;
    private String language;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}